<!DOCTYPE html>
<html>

<head>
    <title>部门管理</title>
    <#include "base/pageheader.ftl" />
    <style>
        .layui-upload-img {
            width: 92px;
            height: 92px;
            margin: 0 10px 10px 0;
        }

        .zl-btn {
            padding-bottom: 8px;
        }

        .button.iconPosition_ico_open,
        .button.iconPosition_ico_close {
            background-position: center 2px !important;
            margin-right: 2px;
        }
    </style>
</head>

<body>
    <div class="layui-fluid">
        <div class="layui-row  layui-col-space5">
            <div class="layui-col-md2 docking-left">
                <div class="layui-card docking-left">
                    <div class="layui-card-header zltree-header">
                    	<div style="font-size: 12px;margin-bottom: 10px;color: #277FD0;">
						<img src="${request.contextPath}/static/image/mouse.png" alt="" style="vertical-align: sub;">左键按住部门拖拽修改部门的位置
					</div>
                    </div>
                    <div class="layui-card-body zltree-body">
                        <input type="hidden" name="ORGIDTEMP">
                        <ul id="orgTreeId" class="ztree"></ul>
                    </div>
                </div>
            </div>
            <div class="layui-col-md10 docking-fill">
                <div class="layui-card layui-card-body">
                    <div class="zl-toolbar">
                        <div class="layui-inline layui-btn-container">
                            <button class="layui-btn layui-btn-sm" id="btnopenall">
                                <i class="layui-icon layui-icon-down"
                                    style="vertical-align: middle;"></i><span>展开全部</span></button>
                            <@rightres id='C54647F6C3B54F73A402AEA5EAA1F03D'>
                                <button class="layui-btn layui-btn-sm" id="btnDeptNew" data-type="add">
                                    <i class="layui-icon layui-icon-add-circle-fine"></i>新增</button>
                            </@rightres>
                            <@rightres id='DE51A4970EF54E8E9879DDA3748907B6'>
                                <button class="layui-btn layui-btn-sm" id="btnDeptDelete" data-type="del">
                                    <i class="layui-icon layui-icon-delete"></i>删除</button>
                            </@rightres>
                            <@rightres id='BAEDEB32E6F54BBE94FB83DEA0C35031'>
                                <button id="btnOutportModel" class="layui-btn layui-btn-sm" data-type="import"
                                    lay-event="outportmodel">
                                    <i class="zlui-icon zlui-icon-datamodelout"></i>导出模板</button>
                            </@rightres>
                            <@rightres id='422E746B76EB44CBB27D23D82EC85B42'>       
                                <button id="btnImport" class="layui-btn layui-btn-sm" data-type="import"
                                    lay-event="importdept">
                                    <i class="zlui-icon zlui-icon-datain"></i>导入</button>
                            </@rightres>
                        </div>
                    </div>
                    <div class="zl-container">
                        <table class="layui-hidden" id="tbdept" lay-filter="tbdept"></table>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script type="text/html" id="barDept">
        <@rightres id='88088D04A16648CB885E3CC288B7713C'>
            <a class="layui-btn layui-btn-xs" lay-event="detail">查看</a>
        </@rightres>
        <@rightres id='572F783C871C4BBF8258AE94698CA652'>
            <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
        </@rightres>
        <@rightres id='DE51A4970EF54E8E9879DDA3748907B6'>
            <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
        </@rightres>
	</script>
    <#include "base/pagefoot.ftl" />
    <script type="text/javascript"
        src="${request.contextPath}/static/modules/admin/bddept/bddept.js?v=<@configVersion suosxt='CORE'> </@configVersion>"></script>
</body>

</html>